package com.vc.core;

public abstract interface IAudioEventListener
{

  public abstract int getAudioDeviceInfo(int[] mFormat, int[] mSamplerate, int[] mFramelen, int[] mWorkmode);

  /**
   * 设置声音大小
   * @param value
   * @return
   */
  public abstract int setAudioSpeakeVolume(int value);

  /**
   * 录音
   * @param recData
   * @param paramInt
   * @return
   */
  public abstract int recAudioData(byte[] recData, int len);

  /**
   * 播放
   * @param playData
   * @param paramInt
   * @return
   */
  public abstract int playAudioData(byte[] playData, int len);
}